from django.conf.urls import url
from . import views

urlpatterns = [
    # 1 用户中心 /users/info/
    url(r'^info/$', views.UserInfoView.as_view(), name='user_info'),
    # 2 修改头像 users/image/upload/
    url(r'^image/upload/$', views.UploadImageView.as_view(), name='image_upload'),
    # 3 我的课程 mycourse/
    url(r'^mycourse/$', views.MyCourseView.as_view(), name='mycourse'),
    # 4 我的收藏
    url(r'^myfav/org/$', views.MyFavOrgView.as_view(), name='myfav_org'),
    # 5 我的消息
    url(r'^mymessage/$', views.MyMessageView.as_view(), name='mymessage'),
    # 6 我的 授课教师
    url(r'^myfav/teacher/$', views.MyFavTeacherView.as_view(), name='myfav_teacher'),
    # 7 我的 公开课
    url(r'^myfav/course/$', views.MyFavCourseView.as_view(), name='myfav_course'),
]
